This guide covers the creation of a Primary Sales 721 of Sequence. It includes steps to create a sales contract, to create an NFT contract, to create a collection, to create unrevealed tokens, to reveal unrevealed tokens, to authenticate wallets, and to purchase and mint.
collectionId
and the number
of tokens you want to create inside the scripts/utils/getBodyAndKeys.ts
file, which already contains an example.
JWT_SECRET_KEY
, VITE_PROJECT_ACCESS_KEY
, and VITE_PROJECT_ID
in your .env
file.Deploy a Primary Sales Contract in Sequence Builder.
Set the Sales Configurations for the project.
src/salesConfigs.ts
and modify the salesConfigs variable by adding each contract sale in an array for your project with the networks you want to support. Example:Set a default chainId for the project.
src/salesConfigs.ts
and modify the defaultChainId variable with the chainId you want to display by default in the project. It must match a chainId present in your salesConfigs variable. For example:Done!
collectionId
inside the scripts/utils/getBodyAndKeys.ts
file, which already contains an example.
JWT_SECRET_KEY
, VITE_PROJECT_ACCESS_KEY
, and VITE_PROJECT_ID
in your .env
file.
Before this step, you should disable your primary sales by setting an expiration date and/or waiting for the stock in the contract to run out (required).